package com.bdqn.membersystem.pojo;

import java.io.Serializable;
import java.util.Date;

public class AuAuthority implements Serializable {
    /**
    * 主键id
    */
    private Long id;

    /**
    * 角色id
    */
    private Long roleId;

    /**
    * 功能id
    */
    private Long functionId;

    /**
    * 用户类型id
    */
    private Long userTypeId;

    /**
    * 创建时间
    */
    private Date creationTime;

    /**
    * 创建者
    */
    private String createdBy;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getFunctionId() {
        return functionId;
    }

    public void setFunctionId(Long functionId) {
        this.functionId = functionId;
    }

    public Long getUserTypeId() {
        return userTypeId;
    }

    public void setUserTypeId(Long userTypeId) {
        this.userTypeId = userTypeId;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", roleId=").append(roleId);
        sb.append(", functionId=").append(functionId);
        sb.append(", userTypeId=").append(userTypeId);
        sb.append(", creationTime=").append(creationTime);
        sb.append(", createdBy=").append(createdBy);
        sb.append("]");
        return sb.toString();
    }
}